namespace JamesKovacs.ReSharper.UnitTestSupport.VstsUnit {
    /// <summary>
    /// This enum is copied from the private assembly,
    /// Microsoft.VisualStudio.QualityTools.Common.dll.
    /// This assembly is not GAC'd and cannot be redistributed.
    /// So I am forced to duplicate the enum in order to parse
    /// the output of MSTest.exe.
    /// </summary>
    public enum TestOutcome {
        Aborted = 3,
        Completed = 11,
        Disconnected = 8,
        Error = 0,
        Failed = 1,
        Inconclusive = 4,
        InProgress = 12,
        Max = 13,
        Min = 0,
        NotExecuted = 7,
        NotRunnable = 6,
        Passed = 10,
        PassedButRunAborted = 5,
        Pending = 13,
        Timeout = 2,
        Warning = 9
    }
}